package org.lztvn.elearning.dao;

import java.util.List;

import org.lztvn.elearning.entities.Product;

public interface IProductDao {
	public Long addProduct(Product c);

	public void deleteProduct(Long idCors);

	public void modifierProduct(Product c);

	public List<Product> listProduct();
	
	public List<Product> listProductByUserId(Long idUser, int position, int nb_product);
	
	public List<Product> listProductInHome();

	public Product getProduct(Long idCors);
	
	public Long getNbProductByUserId(Long idUser);
	
	public List<Product> listProductByLevel(Integer level);
	
}
